<?php
/*------------------------------------------------------------------------
# mod_rizvn_support - Module RizVN Support
# ------------------------------------------------------------------------
# Author: Phuoc Nguyen
# copyright Copyright (C) 2011 RizVN.Net. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.rizvn.net
# Technical Support: Mail - rizvn93@gmail.com
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die('Restricted access');

JHTML::_( 'behavior.mootools' );

$document = &JFactory::getDocument();

//$document->addScript(JURI::base().'modules/mod_rizvn_support/js/jquery-1.6.4.js');

//$document->addScript(JURI::base().'modules/mod_rizvn_support/js/jquery-1.6.4.min.js');

$document->addScript(JURI::base().'modules/mod_rizvn_support/js/script.js');

$document->addScript(JURI::base().'modules/mod_rizvn_support/js/stickytooltip.js');

$document->addStyleSheet(JURI::base().'modules/mod_rizvn_support/css/style.css');

$document->addStyleSheet(JURI::base().'modules/mod_rizvn_support/css/stickytooltip.css');

// include the helper file and the ajax file
require_once( dirname(__FILE__).DS.'helper.php' );
// include the helper file and the ajax file

// Parameters
$yahoo_user = $params->get( 'yahoo_user' );
$gtalk_badge = $params->get( 'gtalk_badge' );
$skype_user	 = $params->get( 'skype_user' );
$skype_choose = $params->get( 'skype_choose' );
$aim_user = $params->get( 'aim_user' );

// Get parameters to our function
$yahoo_status = modRizVNSupport_Yahoo::rizvn_yahoo_status($yahoo_user);
$skype_g_status = modRizVNSupport_Skype::rizvn_skype($skype_user,$dir_skype_images,$skype_choose);
$gtalk_status = modRizVNSupport_GTalk::rizvn_gtalk_status($gtalk_badge );
$aim_status = modRizVNSupport_AIM::rizvn_aim_status($aim_user);

require( JModuleHelper::getLayoutPath( 'mod_rizvn_support' ) );
?>